<template>
  <div class="app">
  <button @click="isShow=true">显示弹窗</button>
  <button @click="isShow=false">隐藏弹窗</button>
  <!-- <BaseDialog :isShow="isShow"  @update:isShow="changeShow" /> -->
  <BaseDialog :isShow.sync="isShow"/>
  </div>
</template>

<script>
import BaseDialog from './components/BaseDialog.vue'
export default {


  components: {
    BaseDialog,
  },

  data() {
    return {
      isShow: false,
    }
  },

methods: {
  changeShow(value) {
    this.isShow = value
  }
}

}
</script>

<style>
</style>